﻿
Partial Class go
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim toUrl As String = Regex.Replace(Request.RawUrl, "(?'1'[^.]*.html)\??(?:.*)?", "$1")


        If IO.File.Exists(Server.MapPath(toUrl)) Then
            Response.TransmitFile(toUrl)
            Response.End()
        End If

        Response.CacheControl = "no-cache"
        Response.Status = "404 File Not Found"
        Response.End()

    End Sub
End Class
